﻿function goTo(e) {
    if (!e) var e = window.event;
    var targ = e.target;
    var item = targ.parentNode;
    var itemsdiplay = document.getElementById("itmes-display");

    $("#itmes-display").hide();
    var ifram = itemsdiplay.nextSibling;
    var btn = ifram.nextSibling.nextSibling;
    btn.style = "display:block; color:black; float:right; margin: 20px 20px 20px 20px;";
    ifram.style=" width:80%; height:720px; ";
    
    if(targ.tagName=="IMG")
      ifram.src = item.parentNode.title;
    else
      ifram.src = item.title;
}
function goBack() {
    $("#iframe").hide();
    $("#itmes-display").show();
    $("#iframe").next().hide();
}